
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.AspNetCore.Identity;
namespace Blogs.LazyFox.Models
{
    [Table("Users")]
    public class UserModel
    {
        [Key]
        public Guid Uid { get; set; } = Guid.NewGuid();
        public string Name { get; set; } = "友人A";
        [Required]
        public string Passward { get; set; } = string.Empty;
        public string HeadImage { get; set; } = string.Empty;
        public string Remark { get; set; } = string.Empty;
        public DateTime RegistTime { get; set; }
        public List<BlogModel> AuthoredBlogs { get; set; } = null!;
    }
}